package com.xana.acg.mikomiko.media;

import android.content.res.Resources;
import android.util.TypedValue;

public class Utils {
    public static float dp2px(float paramFloat) {
        return TypedValue.applyDimension(1, paramFloat, Resources.getSystem().getDisplayMetrics());
    }


    public static String stringForTime(long msec){
        int sec = (int) (msec/1000);
        return String.format("%02d:%02d", sec/60, sec%60);
    }
}
